package de.op.projectc.stats;

/**
 * Created by Andy on 18.05.2014.
 */
public class Options {
    private static Options instance = null;

    public String getCONTROL() {
        return CONTROL;
    }

    public void setCONTROL(String CONTROL) {
        Options.CONTROL = CONTROL;
    }

    public String getLANGUAGE() {
        return LANGUAGE;
    }

    public void setLANGUAGE(String LANGUAGE) {
        Options.LANGUAGE = LANGUAGE;
    }

    public boolean isDEBUG() { return DEBUG; }

    public void setDEBUG(boolean DEBUG) { Options.DEBUG = DEBUG; }

    private static String LANGUAGE = "";
    private static String CONTROL = "";
    private static boolean DEBUG;

    protected Options() {

        loadOptions();
    }

    public static Options getInstance() {
        if(instance == null) {
            instance = new Options();
        }
        return instance;
    }

    //TODO Optionen von Datei laden
    private void loadOptions() {
        this.LANGUAGE = "Deutsch";
        this.CONTROL = "Manuell";
        this.DEBUG = true;
    }
    public void saveOptions() {
    }
}
